package com.oceansoft.mobile.common.util;

public class test {

	public static void main(String[] args) {
//		String imgPath = "C:\\E盘文件\\temp\\fj\\Michael_QRCode.png";
//        String encoderContent = "https://wjw.szgaj.cn/szgawx/micro/redirect/0?source=ewm_djq";
//        javaQRCode handler = new javaQRCode();
//        handler.encoderQRCode(encoderContent, imgPath, "png");
//
////      try {
////          OutputStream output = new FileOutputStream(imgPath);
////          handler.encoderQRCode(content, output);
////      } catch (Exception e) {
////          e.printStackTrace();
////      }
//        System.out.println("========encoder success");
//
//
//        String decoderContent = handler.decoderQRCode(imgPath);
//        System.out.println("解析结果如下：");
//        System.out.println(decoderContent);
//        System.out.println("========decoder success!!!");

        String url = "https://wjw.szgaj.cn/szgawx/api/owner_dog/zxbl?sour=szhasd%ss=1";
        System.out.println(url.substring(0,url.indexOf('?')));
	}
}
